#include "web/FileDesc.h"

int Web::FileDesc::Close()
{
	int flag{ -1 };
#ifdef _WIN32
	flag = closesocket(fd);
#endif

#ifdef __linux__
	flag = close(fd);
#endif
	return flag;
}

